import { Component, OnInit  } from '@angular/core';

// 表格记录数据
interface Person {
  key: string;
  name: string;
  cont: string;
  date: string;
}

@Component({
  selector: 'app-change-history',
  templateUrl: './change-history.component.html',
  styleUrls: ['./change-history.component.less']
})
export class ChangeHistoryComponent implements OnInit {

  historyOfData: Person[] = [
    {
      key: '1',
      name: 'John Brown',
      cont: '添加行政人事部',
      date: '2020-12-02'
    },
    {
      key: '2',
      name: 'John Brown',
      cont: '添加行政人事部',
      date: '2020-12-02'
    },
    {
      key: '3',
      name: 'John Brown',
      cont: '添加行政人事部',
      date: '2020-12-02'
    }
  ];

  constructor() { }

  ngOnInit(): void {

  }
}
